package com.tdkj.model.risevalue;

import java.util.List;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.tdkj.model.base.BaseEntity;

/**
 * XnkyAuctionRule entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "risevalue_auction_rule")
public class BeanAuctionRule extends BaseEntity implements java.io.Serializable {

	/**
	 * 竞价加价幅度
	 */
	private int hight;
	private int low;
	private Integer radices;
	private List<BeanAdvertAuctionInfo> auctioninfos;

	public int getHight() {
		return this.hight;
	}

	public void setHight(int hight) {
		this.hight = hight;
	}

	public int getLow() {
		return this.low;
	}

	public void setLow(int low) {
		this.low = low;
	}

	@Column(name = "radices")
	public Integer getRadices() {
		return this.radices;
	}

	public void setRadices(Integer radices) {
		this.radices = radices;
	}

	/**
	 * @return the auctionInfo
	 */
	@OneToMany(mappedBy="auctionrule",cascade={CascadeType.REFRESH},fetch=FetchType.LAZY)
	public List<BeanAdvertAuctionInfo> getAuctioninfos() {
		return auctioninfos;
	}

	/**
	 * @param auctionInfo the auctionInfo to set
	 */
	public void setAuctioninfos(List<BeanAdvertAuctionInfo> auctioninfos) {
		this.auctioninfos = auctioninfos;
	}

	
	
}